Skip to content

[PWGHF] add derived data support to taskElectronWeakBoson - #18802

Open
sashingo wants to merge 1 commit into
AliceO2Group:masterfrom
sashingo:update-electron-weak-boson-derived-data-20261116
Open

sashingo wants to merge 1 commit into
AliceO2Group:masterfrom
sashingo:update-electron-weak-boson-derived-data-20261116

Conversation

@sashingo

Copy link
Copy Markdown
Contributor

This PR adds derived-data support to taskElectronWeakBoson.

Main changes:

  • Add ElectronWeakBosonTables.h for the derived-data tables.
  • Add derivedDataCreatorElectronWeakBoson.cxx to produce the derived data.
  • Update taskElectronWeakBoson to analyze the derived data.

@github-actions

Copy link
Copy Markdown

O2 linter results: ❌ 0 errors, ⚠️ 0 warnings, 🔕 1 disabled

@github-actions github-actions Bot changed the title PWGHF: add derived data support to taskElectronWeakBoson [PWGHF] add derived data support to taskElectronWeakBoson Nov 18, 2026
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 7294da2 at 2026-11-18 13:07:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 1 errors and 4 warnings.'
Found 1 errors and 4 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/d109eadbb84397e653f99a106cfce5184851cc22/O2Physics-code-check/errors.txt
PWGHF/HFL/TableProducer/derivedDataCreatorElectronWeakBoson.cxx:393:5: error: no header providing "size_t" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 4 -gt 0 ]]
++ cat /sw/BUILD/d109eadbb84397e653f99a106cfce5184851cc22/O2Physics-code-check/warnings.txt
PWGHF/HFL/TableProducer/derivedDataCreatorElectronWeakBoson.cxx:357:21: warning: use designated initializer list to initialize 'HfEleCand' [modernize-use-designated-initializers]
PWGHF/HFL/Tasks/taskElectronWeakBoson.cxx:430:13: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGHF/HFL/Tasks/taskElectronWeakBoson.cxx:980:14: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr]
PWGHF/HFL/Tasks/taskElectronWeakBoson.cxx:1163:54: warning: forwarding reference parameter 'getRho' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward]
++ [[ 1 -gt 0 ]]
++ exit 1
--

Full log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants